
#include "EffectAnnotation.h"
#include "EffectParameter.h"

using namespace Riccsson::Xna::Framework::Graphics;

EffectAnnotation::EffectAnnotation(
	EffectParameterClass class_,
	EffectParameterType type,
	Riccsson::System::string* name,
	int rowCount,
	int columnCount,
	Riccsson::System::string* semantic,
	Riccsson::System::object* data)
{
	ParameterClass = class_;
	ParameterType = type;
	Name = name;
	RowCount = rowCount;
	ColumnCount = columnCount;
	Semantic = semantic;
}

EffectAnnotation::EffectAnnotation(GC_PTR<EffectParameter> parameter)
{
	ParameterClass = parameter->ParameterClass;
	ParameterType = parameter->ParameterType;
	Name = parameter->Name;
	RowCount = parameter->RowCount;
	ColumnCount = parameter->ColumnCount;
	Semantic = parameter->Semantic;
}